package com.woniuxy.store.client.param.reservationParam;

import lombok.Data;
import utils.EnumValue;

import java.time.LocalDate;

@Data
public class SearchReservationByConditionParams {
    private String keyword;
    @EnumValue(intValues = {1,2})
    private Integer compartment;
//    @EnumValue(strValues = {"WAITING","SUCCESS","FAIL","PROMISED","OVERDUE"})
    private String reservationState;
    private LocalDate startTime;
    private LocalDate endTime;
    private Integer pageIndex;
    private Integer pageSize;
}
